﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="PRbyUID.aspx.cs" Inherits="StatisticData_InterimStatistic_PRbyUID" Title="按测试员统计合格数" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript" src="../../js/my97datepicker/WdatePicker.js"></script>
<div style="width:100%"> 
    <div style=" height: 31px; width: 100%">
    <br />
     <asp:Panel ID="Panel1" runat="server">
                    起始时间：
                    <input type="text" runat="server" id="TextBox1" 
                    onfocus="WdatePicker({startDate:'%y-%M-%d 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})"/>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 终止时间：
                    <input type="text" runat="server" id="TextBox2" 
                    onfocus="WdatePicker({startDate:'%y-%M-%d 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})"/>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="Button1" runat="server" Text="查 询" onclick="Button1_Click" />
        </asp:Panel>         
    </div>    
    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
    <ContentTemplate>
    <br />
    <br />
    <div style=" float:left; clear:left; width:100%">
        <table style=" width: 100%">
            <tr>
                <td>
                    <asp:Label ID="Label7" runat="server" Text="各测试员的合格数：" Visible="False"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:GridView ID="GridView2" runat="server" AllowPaging="True" 
                        AutoGenerateColumns="False" BackColor="White" BorderColor="White" 
                        BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" 
                        GridLines="None" onpageindexchanging="GridView2_PageIndexChanging"  
                        PageSize="20" Width="100%" EmptyDataText="没有相关数据！">
                        <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                        <Columns>
                            <asp:BoundField DataField="DayTime" HeaderText="测试员" />
                            <asp:BoundField DataField="Total" HeaderText="检验数" Visible="False" />
                            <asp:BoundField DataField="Element" HeaderText="合格数" />
                            <asp:BoundField DataField="Quantity" DataFormatString="{0:P}"  
                                HeaderText="合格率" Visible="False" />
                        </Columns>
                        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                        <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                        <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
    <br />
    <br />
    </div> 
    </ContentTemplate>
    </asp:UpdatePanel>
    </div>
</asp:Content>

